package com.kelvin.paopao.api.responseBean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * https://github.com/CymChad/BaseRecyclerViewAdapterHelper
 */
public class MultipleItem<T> implements MultiItemEntity {
    public static final int KEFU = 1;
    public static final int COMMON = 2;
    public static final int KEFU_COLLECTION = 3;
    private int itemType;
    private T t;

    public MultipleItem(int itemType, T t) {
        this.itemType = itemType;
        this.t = t;
    }


    public T getData() {
        return t;
    }

    public void setData(T t) {
        this.t = t;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
